//
//  TGLineLabel.m
//  GroupBuy
//
//  Created by wwj on 15/11/12.
//  Copyright © 2015年 wwj. All rights reserved.
//

#import "TGLineLabel.h"

@implementation TGLineLabel

-(void)drawRect:(CGRect)rect{
    [super drawRect:rect];
    CGContextRef context = UIGraphicsGetCurrentContext();
    [self.textColor setStroke];
    CGFloat Y = rect.size.height * 0.5;
    CGContextMoveToPoint(context, 0, Y);
    CGContextAddLineToPoint(context, rect.size.width, Y);
    CGContextStrokePath(context);
}

@end
